package com.wxg.tkmybatis.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "t_sys_user_role")
public class UserRole {
    @Column(name = "f_id")
    @Id
    private String fId;
    @Column(name = "f_user_id")
    private String fUserId;
    @Transient
    private String fUserName;
}
